

#ifndef _SHELL_REQBUYACTIVITYGOODS_MESSAGE_H_
#define _SHELL_REQBUYACTIVITYGOODS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqBuyActivityGoodsMessage : public Message
{
	public:
	ReqBuyActivityGoodsMessage();
	~ReqBuyActivityGoodsMessage();
	void reset();
	ReqBuyActivityGoodsMessage* clone();
	static const int _ID;
	//购买的商店物品(1特惠商城 2暗金商城)
	int8 type;
	//购买的商品id
	int32 sid;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
